package  com.muyi.biling.bean;

import org.parceler.Parcel;

/**
 * Created by developer on 18-1-26.
 */

@Parcel
public class CommodityItem {

    public final static String CLASS_NAME = "commodity";

    public String title;
    public int count;
    public int unitPrice;
    public int sumPrice;
    public String tip = "";

    public CommodityItem() {

    }

    public CommodityItem(String title, int count, int unitPrice, int sumPrice, String tip) {
        this.title = title;
        this.count = count;
        this.unitPrice = unitPrice;
        this.sumPrice = sumPrice;
        this.tip = tip;
    }

    @Override
    public String toString() {
        return "CommodityItem{" +
                "title='" + title + '\'' +
                ", count=" + count +
                ", unitPrice=" + unitPrice +
                ", sumPrice=" + sumPrice +
                ", tip='" + tip + '\'' +
                '}';
    }
}
